begin
  set --local priv_dir "$(status dirname)/private"
  if test -d $priv_dir -a -r $priv_dir
    for f in (find $priv_dir -mindepth 1 -maxdepth 1 -type f -readable -regex '.*\.fish')
      source $f
    end
  end
end
